package com.ymttest.database.sharding.db.sharding.model;

import java.math.BigDecimal;
import java.util.Date;

public class RefundBillPo {
    /**
     * id BIGINT(19) 必填<br>
     * 主键Id
     */
    private Long id;

    /**
     * refund_bill_no VARCHAR(50) 必填<br>
     * 退款单号
     */
    private String refundBillNo;

    /**
     * order_id BIGINT(19) 必填<br>
     * 订单号
     */
    private Long orderId;

    /**
     * total_amount DECIMAL(18,2) 必填<br>
     * 退款总金额
     */
    private BigDecimal totalAmount;

    /**
     * user_id BIGINT(19) 必填<br>
     * 用户Id
     */
    private Long userId;

    /**
     * seller_id BIGINT(19) 必填<br>
     * 买手Id
     */
    private Long sellerId;

    /**
     * refund_bill_status INTEGER(10) 必填<br>
     * 1：退货退款中 10：退货退款完成 -10：退货退款拒绝
     */
    private Integer refundBillStatus;

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 规格Id
     */
    private String catalogId;

    /**
     * product_count INTEGER(10) 必填<br>
     * 退商品数量
     */
    private Integer productCount;

    /**
     * topspeed_refund BIT(1) 必填<br>
     * 是否极速退款
     */
    private Boolean topspeedRefund;

    /**
     * deducted_coupon_amount DECIMAL(18,2) 必填<br>
     * 从买手已结算金额扣回优惠券金额
     */
    private BigDecimal deductedCouponAmount;

    /**
     * no_settlement_coupon_amount DECIMAL(18,2) 必填<br>
     * 无需结算给买手优惠券金额
     */
    private BigDecimal noSettlementCouponAmount;

    /**
     * freight DECIMAL(18,2) 必填<br>
     * 退运费金额
     */
    private BigDecimal freight;

    /**
     * after_receiving BIT(1) 必填<br>
     * 是否确认收货后退货退款
     */
    private Boolean afterReceiving;

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 新增时间
     */
    private Date addTime;

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 更新时间
     */
    private Date updateTime;

    /**
     * id BIGINT(19) 必填<br>
     * 获得 主键Id
     */
    public Long getId() {
        return id;
    }

    /**
     * id BIGINT(19) 必填<br>
     * 设置 主键Id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * refund_bill_no VARCHAR(50) 必填<br>
     * 获得 退款单号
     */
    public String getRefundBillNo() {
        return refundBillNo;
    }

    /**
     * refund_bill_no VARCHAR(50) 必填<br>
     * 设置 退款单号
     */
    public void setRefundBillNo(String refundBillNo) {
        this.refundBillNo = refundBillNo == null ? null : refundBillNo.trim();
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单号
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单号
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * total_amount DECIMAL(18,2) 必填<br>
     * 获得 退款总金额
     */
    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    /**
     * total_amount DECIMAL(18,2) 必填<br>
     * 设置 退款总金额
     */
    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    /**
     * user_id BIGINT(19) 必填<br>
     * 获得 用户Id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * user_id BIGINT(19) 必填<br>
     * 设置 用户Id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 获得 买手Id
     */
    public Long getSellerId() {
        return sellerId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 设置 买手Id
     */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * refund_bill_status INTEGER(10) 必填<br>
     * 获得 1：退货退款中 10：退货退款完成 -10：退货退款拒绝
     */
    public Integer getRefundBillStatus() {
        return refundBillStatus;
    }

    /**
     * refund_bill_status INTEGER(10) 必填<br>
     * 设置 1：退货退款中 10：退货退款完成 -10：退货退款拒绝
     */
    public void setRefundBillStatus(Integer refundBillStatus) {
        this.refundBillStatus = refundBillStatus;
    }

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 获得 规格Id
     */
    public String getCatalogId() {
        return catalogId;
    }

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 设置 规格Id
     */
    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId == null ? null : catalogId.trim();
    }

    /**
     * product_count INTEGER(10) 必填<br>
     * 获得 退商品数量
     */
    public Integer getProductCount() {
        return productCount;
    }

    /**
     * product_count INTEGER(10) 必填<br>
     * 设置 退商品数量
     */
    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    /**
     * topspeed_refund BIT(1) 必填<br>
     * 获得 是否极速退款
     */
    public Boolean getTopspeedRefund() {
        return topspeedRefund;
    }

    /**
     * topspeed_refund BIT(1) 必填<br>
     * 设置 是否极速退款
     */
    public void setTopspeedRefund(Boolean topspeedRefund) {
        this.topspeedRefund = topspeedRefund;
    }

    /**
     * deducted_coupon_amount DECIMAL(18,2) 必填<br>
     * 获得 从买手已结算金额扣回优惠券金额
     */
    public BigDecimal getDeductedCouponAmount() {
        return deductedCouponAmount;
    }

    /**
     * deducted_coupon_amount DECIMAL(18,2) 必填<br>
     * 设置 从买手已结算金额扣回优惠券金额
     */
    public void setDeductedCouponAmount(BigDecimal deductedCouponAmount) {
        this.deductedCouponAmount = deductedCouponAmount;
    }

    /**
     * no_settlement_coupon_amount DECIMAL(18,2) 必填<br>
     * 获得 无需结算给买手优惠券金额
     */
    public BigDecimal getNoSettlementCouponAmount() {
        return noSettlementCouponAmount;
    }

    /**
     * no_settlement_coupon_amount DECIMAL(18,2) 必填<br>
     * 设置 无需结算给买手优惠券金额
     */
    public void setNoSettlementCouponAmount(BigDecimal noSettlementCouponAmount) {
        this.noSettlementCouponAmount = noSettlementCouponAmount;
    }

    /**
     * freight DECIMAL(18,2) 必填<br>
     * 获得 退运费金额
     */
    public BigDecimal getFreight() {
        return freight;
    }

    /**
     * freight DECIMAL(18,2) 必填<br>
     * 设置 退运费金额
     */
    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    /**
     * after_receiving BIT(1) 必填<br>
     * 获得 是否确认收货后退货退款
     */
    public Boolean getAfterReceiving() {
        return afterReceiving;
    }

    /**
     * after_receiving BIT(1) 必填<br>
     * 设置 是否确认收货后退货退款
     */
    public void setAfterReceiving(Boolean afterReceiving) {
        this.afterReceiving = afterReceiving;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 新增时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 新增时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", refundBillNo=").append(refundBillNo);
        sb.append(", orderId=").append(orderId);
        sb.append(", totalAmount=").append(totalAmount);
        sb.append(", userId=").append(userId);
        sb.append(", sellerId=").append(sellerId);
        sb.append(", refundBillStatus=").append(refundBillStatus);
        sb.append(", catalogId=").append(catalogId);
        sb.append(", productCount=").append(productCount);
        sb.append(", topspeedRefund=").append(topspeedRefund);
        sb.append(", deductedCouponAmount=").append(deductedCouponAmount);
        sb.append(", noSettlementCouponAmount=").append(noSettlementCouponAmount);
        sb.append(", freight=").append(freight);
        sb.append(", afterReceiving=").append(afterReceiving);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}